package net.cookiefarmers.seedswap

//this is the basic seed class, creating and instantiating all associated variables


class Seed {
	
String name
String region
String scientificName	
String description
int quantity
String owner

    static constraints = {
	name(blank:false) //must have a name
	region()
	scientificName()
	description()
	quantity(blank:false, matches:"[1-9]") //must have a quantity
		
    }
}
